<template>
  <div>
    <h2>学校名称: {{schoolName}}</h2>
    <h2>学校地址: {{address}}</h2>
  </div>
</template>

<script>
export default {
  // 首先要使用name来命名
  name: "MySchool",
  data() {
    return {
      schoolName: "尚硅谷",
      address: "北京昌平",
    };
  },
};
</script>